[INFO] fetching crate ethers-contract 0.1.3...
[INFO] checking ethers-contract-0.1.3 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate ethers-contract 0.1.3 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate ethers-contract 0.1.3 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ethers-contract 0.1.3
[INFO] finished tweaking crates.io crate ethers-contract 0.1.3
[INFO] tweaked toml for crates.io crate ethers-contract 0.1.3 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serial_test v0.4.0
[INFO] [stderr]   Downloaded ethers-signers v0.1.3
[INFO] [stderr]   Downloaded ethers-contract-derive v0.1.3
[INFO] [stderr]   Downloaded serial_test_derive v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f6da2af73a12f93f3c5aad49586d4e994cf0b1db97ea8ae88443b5892cc477f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7f6da2af73a12f93f3c5aad49586d4e994cf0b1db97ea8ae88443b5892cc477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f6da2af73a12f93f3c5aad49586d4e994cf0b1db97ea8ae88443b5892cc477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f6da2af73a12f93f3c5aad49586d4e994cf0b1db97ea8ae88443b5892cc477f", kill_on_drop: false }`
[INFO] [stdout] 7f6da2af73a12f93f3c5aad49586d4e994cf0b1db97ea8ae88443b5892cc477f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8fa1d88ec934605384c345ea9e51b853b64148e207937cb54ed2aff898c6d3fd
[INFO] running `Command { std: "docker" "start" "-a" "8fa1d88ec934605384c345ea9e51b853b64148e207937cb54ed2aff898c6d3fd", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling serial_test_derive v0.4.0
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking serial_test v0.4.0
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking hyper v0.13.7
[INFO] [stderr]     Checking hyper-rustls v0.21.0
[INFO] [stderr]     Checking reqwest v0.10.8
[INFO] [stderr]     Checking ethers-providers v0.1.3
[INFO] [stderr]     Checking ethers-signers v0.1.3
[INFO] [stderr]     Checking ethers-contract v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ethers`
[INFO] [stdout]  --> tests/contract.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ethers::{contract::ContractFactory, types::H256};
[INFO] [stdout]   |     ^^^^^^ use of undeclared type or module `ethers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ethers`
[INFO] [stdout]  --> tests/contract.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use ethers::{providers::StreamExt, types::Address, utils::Ganache};
[INFO] [stdout]   |         ^^^^^^ use of undeclared type or module `ethers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ganache`
[INFO] [stdout]   --> tests/contract.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _ganache = Ganache::new()
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use crate::common::Ganache;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::utils::Ganache;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ContractFactory`
[INFO] [stdout]   --> tests/contract.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let factory = ContractFactory::new(abi, bytecode, &client);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use crate::common::ContractFactory;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_contract::ContractFactory;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Address` in this scope
[INFO] [stdout]   --> tests/contract.rs:37:48
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let last_sender = contract.method::<_, Address>("lastSender", ()).unwrap();
[INFO] [stdout]    |                                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use crate::common::Address;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::abi::Address;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::types::Address;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H256` in this scope
[INFO] [stdout]   --> tests/contract.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .method::<_, H256>("setValue", "hi".to_owned())
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::types::H256;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Address` in this scope
[INFO] [stdout]   --> tests/contract.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 |             .method::<_, Address>("lastSender", ())
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use crate::common::Address;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::abi::Address;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::types::Address;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Address`
[INFO] [stdout]   --> tests/contract.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |         assert_eq!(init_address, Address::zero());
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use crate::common::Address;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::abi::Address;
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::types::Address;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H256` in this scope
[INFO] [stdout]   --> tests/contract.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |             .method::<_, H256>("setValue", "hi".to_owned())
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use ethers_core::types::H256;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H256` in this scope
[INFO] [stdout]    --> tests/contract.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 .method::<_, H256>("setValue", i.to_string())
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 8   |     use ethers_core::types::H256;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next` found for opaque type `impl Stream` in the current scope
[INFO] [stdout]    --> tests/contract.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let log = stream.next().await.unwrap().unwrap();
[INFO] [stdout]     |                              ^^^^ method not found in `impl Stream`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
[INFO] [stdout]             candidate #1: `use std::iter::Iterator;`
[INFO] [stdout]             candidate #2: `use std::str::pattern::Searcher;`
[INFO] [stdout]             candidate #3: `use serde_json::read::Read;`
[INFO] [stdout]             candidate #4: `use tokio::stream::StreamExt;`
[INFO] [stdout]             candidate #5: `use ethers_providers::StreamExt;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ethers-contract`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8fa1d88ec934605384c345ea9e51b853b64148e207937cb54ed2aff898c6d3fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fa1d88ec934605384c345ea9e51b853b64148e207937cb54ed2aff898c6d3fd", kill_on_drop: false }`
[INFO] [stdout] 8fa1d88ec934605384c345ea9e51b853b64148e207937cb54ed2aff898c6d3fd
